<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenIG: OpenIG::PluginBase::PluginContext::Attribute&lt; T &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="openig_logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenIG
   &#160;<span id="projectnumber">2.0.7</span>
   </div>
   <div id="projectbrief">cross-platform open-source OpenSceneGraph Image Generator</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>OpenIG</b></li><li class="navelem"><b>PluginBase</b></li><li class="navelem"><a class="el" href="class_open_i_g_1_1_plugin_base_1_1_plugin_context.html">PluginContext</a></li><li class="navelem"><a class="el" href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html">Attribute</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OpenIG::PluginBase::PluginContext::Attribute&lt; T &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html" title="Attribute struct. ">Attribute</a> struct.  
 <a href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_plugin_context_8h_source.html">PluginContext.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for OpenIG::PluginBase::PluginContext::Attribute&lt; T &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.png" usemap="#OpenIG::PluginBase::PluginContext::Attribute_3C_20T_20_3E_map" alt=""/>
  <map id="OpenIG::PluginBase::PluginContext::Attribute_3C_20T_20_3E_map" name="OpenIG::PluginBase::PluginContext::Attribute_3C_20T_20_3E_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acf40335bd1311ab5d4591660ed1c44e5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html#acf40335bd1311ab5d4591660ed1c44e5">Attribute</a> (T value)</td></tr>
<tr class="memdesc:acf40335bd1311ab5d4591660ed1c44e5"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html" title="Attribute struct. ">Attribute</a>.  <a href="#acf40335bd1311ab5d4591660ed1c44e5">More...</a><br /></td></tr>
<tr class="separator:acf40335bd1311ab5d4591660ed1c44e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a838e083844f97e1114b57cfb42028307"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html#a838e083844f97e1114b57cfb42028307">setValue</a> (const T &amp;value)</td></tr>
<tr class="memdesc:a838e083844f97e1114b57cfb42028307"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set some value.  <a href="#a838e083844f97e1114b57cfb42028307">More...</a><br /></td></tr>
<tr class="separator:a838e083844f97e1114b57cfb42028307"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2195ffc9e86bd2edaa10889f1a46c3e8"><td class="memItemLeft" align="right" valign="top">T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html#a2195ffc9e86bd2edaa10889f1a46c3e8">getValue</a> ()</td></tr>
<tr class="memdesc:a2195ffc9e86bd2edaa10889f1a46c3e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value.  <a href="#a2195ffc9e86bd2edaa10889f1a46c3e8">More...</a><br /></td></tr>
<tr class="separator:a2195ffc9e86bd2edaa10889f1a46c3e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a07b2c1a90304b3c49a2a167b8c01466d"><td class="memItemLeft" align="right" valign="top"><a id="a07b2c1a90304b3c49a2a167b8c01466d"></a>
T&#160;</td><td class="memItemRight" valign="bottom"><b>_value</b></td></tr>
<tr class="separator:a07b2c1a90304b3c49a2a167b8c01466d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
struct OpenIG::PluginBase::PluginContext::Attribute&lt; T &gt;</h3>

<p><a class="el" href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html" title="Attribute struct. ">Attribute</a> struct. </p>
<p>This struct gives the user chance to add custom structs in the igplugincore::PluginContext to be passed from the <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> to all the plugins. The openig::OpenIG Image Generator implementation is keeping a reference of a igplugincore::PluginContext and it cleans it after each frame </p><dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Fri Jan 16 2015 </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="acf40335bd1311ab5d4591660ed1c44e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf40335bd1311ab5d4591660ed1c44e5">&#9670;&nbsp;</a></span>Attribute()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html">OpenIG::PluginBase::PluginContext::Attribute</a>&lt; T &gt;::<a class="el" href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html">Attribute</a> </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html" title="Attribute struct. ">Attribute</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">A</td><td>custom value, struct </td></tr>
  </table>
  </dd>
</dl>
<dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Fri Jan 16 2015 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a2195ffc9e86bd2edaa10889f1a46c3e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2195ffc9e86bd2edaa10889f1a46c3e8">&#9670;&nbsp;</a></span>getValue()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T&amp; <a class="el" href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html">OpenIG::PluginBase::PluginContext::Attribute</a>&lt; T &gt;::getValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the value. </p>
<dl class="section return"><dt>Returns</dt><dd>The value </dd></dl>
<dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Fri Jan 16 2015 </dd></dl>

</div>
</div>
<a id="a838e083844f97e1114b57cfb42028307"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a838e083844f97e1114b57cfb42028307">&#9670;&nbsp;</a></span>setValue()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="struct_open_i_g_1_1_plugin_base_1_1_plugin_context_1_1_attribute.html">OpenIG::PluginBase::PluginContext::Attribute</a>&lt; T &gt;::setValue </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set some value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">The</td><td>value </td></tr>
  </table>
  </dd>
</dl>
<dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Fri Jan 16 2015 </dd></dl>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>Core-PluginBase/<a class="el" href="_plugin_context_8h_source.html">PluginContext.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed May 16 2018 15:41:11 for OpenIG by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
